home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 11 / Cream of the Crop 11-1.iso / educate / wordy402.zip / SRCH.H < prev    next >
C/C++ Source or Header  |  1995-01-19  |  545b  |  20 lines

  1. #include <stdio.h>
  2. #include <io.h>
  3. #include <stdlib.h>
  4. #include <string.h>
  5. #include <dos.h>
  6.  
  7. #define COMPARISON_ERROR 1
  8. #define MAXTESTS 50
  9. #define MAX_WLEN 16
  10. #define MAX_SPAN 25
  11.  
  12. const char Wordfile[] = "word.lst";   //File containing list of valid words.
  13.  
  14. typedef enum { FAIL, SUCCESS } Rflag;
  15.  
  16. /******************************PROTOTYPES***********************************/
  17. Rflag l_search( char *search_word, FILE *fp );
  18. Rflag b_search( char *search_word, FILE *fp, long left, long right );
  19. Rflag lookup( char *test_word );
  20.